<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html class=" -webkit-">
	<head>		               
	<meta charset="utf-8">
    <title>杰利联合</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
	<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
    <meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
    <meta content="no-cache" http-equiv="pragma">
    <meta content="0" http-equiv="expires">
    <meta content="telephone=no, address=no" name="format-detection">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <link rel="stylesheet" type="text/css" href="${ctxStatic}/jiu/css/mobile_module.css?v=1492672720" media="all">
    <script type="text/javascript">
		//静态变量
		var IMG_PATH = "/Public/Home/images";
		var STATIC_PATH = "/Public/static";
		var SITE_URL = "http://jiujiu.hbweiyinqing.cn";
		var WX_APPID = "";
		var	WXJS_TIMESTAMP=''; 
		var NONCESTR= ''; 
		var SIGNATURE= '';
	</script>
    <script type="text/javascript" src="${ctxStatic}/jiu/js/jquery-2.0.3.min.js"></script>
	<script type="text/javascript" src="http://me.hbweiyinqing.cn/Public/js/zepto.js"></script>
	<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
	<script type="text/javascript" src="${ctxStatic}/jiu/js/prefixfree.min.js?v=1492672720"></script>
	<script type="text/javascript" src="${ctxStatic}/jiu/js/m/dialog.js?v=1492672720"></script>
	<script type="text/javascript" src="${ctxStatic}/jiu/js/flipsnap.min.js?v=1492672720"></script>
	<script type="text/javascript" src="${ctxStatic}/jiu/js/mobile_module.js?v=1492672720"></script>
    <link href="${ctxStatic}/jiu/css/common.css?v=1492672720" rel="stylesheet" type="text/css">
	<link href="${ctxStatic}/jiu/css/shop.css?v=1492672720" rel="stylesheet" type="text/css">
		<style>
			.hearder{
				height: 50px;
				background-color: #30B0F3;
				width: 100%;
				text-align: center;
				color: white;
				font-size: 20px;
               line-height:50px;
			}
		</style>
	</head>
<body class="withFoot">
    <div class="container">      	
       <header  class="hearder">
			<a href="javascript:window.history.go(-1);">
				<img src="${ctxStatic}/jiu/img/fanhui.png" style="height: 20px;color: white;top:15px;position: absolute;left: 10px;"/></a>
			厂家列表
		</header>
        
        <!-- 产品列表 -->
        <div class="product_list">
            <ul id="productContainer">
            
          		<c:forEach items="${jiuManufactorList}" var="jiuManufactor">
					 <li class="contentItem" >
                        <a href="javascript:factorDetails(${jiuManufactor.id})">
                           <img class="scrollLoading" src="${ctxUser }/jiu/${jiuManufactor.logo}">
                            <div class="desc">
                            	<p class="name">${jiuManufactor.name}</p>
                            	<p class="price">${jiuManufactor.price}积分</p>
                            </div>
                        </a>
                	 </li>
				</c:forEach>
               
            </ul>
        </div>
        <div class="noMore">没有更多内容</div> 
     	<div class="moreLoading"><em>&nbsp;</em>正在加载更多···</div>
              
    </div>	  
    <!-- 底部导航 -->
		<%@ include file="/WEB-INF/views/modules/jiuFront/footer.jsp"%>

    
<script type="text/javascript">
$(function(){

	/*var __lastId = $('.contentItem').last().data('lastid');
	$.WeiPHP.initLoadMore({
		"pageCount":2, //每次拉取的数量
		"lastId": __lastId,//第一次加载的Id
		"loadType" : 1,//0:页码加载  1:lastId加载
		"loadUrl" : "",
		//loadUrl 加载的model连接 可带参数 返回为空时自动停止下拉
		"domClass" : "contentItem", //每个item的Class
		"domContainer" : "productContainer" //所有item的容器Id
	});
	*/
		//搜索功能
	$("#search").click(function(){
		


        var url = '';//$(this).attr('url');
       
         url +='search_key/'+$('input[name=search_key]').val();
		window.location.href = url;
	});	
})



	function factorDetails(id){
		window.location.href="${ctxFront }/jiu/factorDetails?uid=${uid}&factorId="+id+"&v="+Math.random();
	}
</script>

</body>
</html>